package com.himore.api.web.model;

import com.himore.api.common.annotation.Excel;
import com.himore.api.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 点赞信息对象 t_sys_like
 * 
 * @author ruoyi
 * @date 2021-05-13
 */
public class TSysLike extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 点赞ID */
    @ApiModelProperty(value = "点赞ID",example = "0")
    private Long likeId;

    /** 用户ID */
    @ApiModelProperty(value = "用户ID",example = "0")
    private Long userId;

    /** 评论ID */
    @ApiModelProperty(value = "评论ID",example = "0")
    private Long commentId;

    /** 帖子ID */
    @ApiModelProperty(value = "帖子ID")
    private String invitationId;

    /** 1 帖子点赞， 2 评论点赞 */
    @ApiModelProperty(value = "likeType：1 帖子点赞， 2 评论点赞")
    private String likeType;

    /** $column.columnComment */
    @ApiModelProperty(value = "1 帖子点赞， 2 评论点赞")
    private String updateUser;

    /** $column.columnComment */
    @ApiModelProperty(value = "1 帖子点赞， 2 评论点赞")
    private String createUser;

    public void setLikeId(Long likeId) 
    {
        this.likeId = likeId;
    }

    public Long getLikeId() 
    {
        return likeId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setCommentId(Long commentId) 
    {
        this.commentId = commentId;
    }

    public Long getCommentId() 
    {
        return commentId;
    }


    public void setLikeType(String likeType) 
    {
        this.likeType = likeType;
    }

    public String getLikeType() 
    {
        return likeType;
    }
    public void setUpdateUser(String updateUser) 
    {
        this.updateUser = updateUser;
    }

    public String getUpdateUser() 
    {
        return updateUser;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }

    public String getInvitationId() {
        return invitationId;
    }

    public void setInvitationId(String invitationId) {
        this.invitationId = invitationId;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("likeId", getLikeId())
            .append("userId", getUserId())
            .append("commentId", getCommentId())
            .append("invitationId", getInvitationId())
            .append("likeType", getLikeType())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("updateUser", getUpdateUser())
            .append("createUser", getCreateUser())
            .append("remark", getRemark())
            .toString();
    }

    @ApiModelProperty(value = "已读未读标志")
    private int haveRead  ;

    public int getHaveRead() {
        return haveRead;
    }

    public void setHaveRead(int haveRead) {
        this.haveRead = haveRead;
    }
}
